package com.cqupt.scanning.system.utils.common;

import org.springframework.security.crypto.bcrypt.BCrypt;

/**
 * @Data: 2021/7/17 16:50
 * @Author: 宋宝梁
 */
public class PasswordEncryption {

    public static String execute(String password) {
        return BCrypt.hashpw(password, BCrypt.gensalt());
    }
}
